﻿using System;
using System.Collections.Generic;
using System.Text;
using NAnt.Core;
using NAnt.Core.Attributes;

namespace EnvRide.NAnt
{
    public class Property : Element
    {
        private string _propertyName;
        private string _value;
        private Boolean _if = true;

        [TaskAttribute("name", Required = true)]
        public virtual string PropertyName
        {
            get { return _propertyName; }
            set { _propertyName = value; }
        }

        [TaskAttribute("value")]
        public virtual string Value
        {
            get { return _value; }
            set { _value = value; }
        }

        [TaskAttribute("if")]
        public virtual bool If
        {
            get { return _if; }
            set { _if = value; }
        }
    }
}
